using Godot;

namespace Arcane.Source.Client;

using static Arcane.Source.GameContext;

public partial class CombatSetupView : Control, IView
{
    public GameOS Os { get; set; }
    public Control UI => this;
    public Node Node => null;

    public void OnStartPressed()
    {
        Os.EventHub.SendEvent<GameContext, IGameEvent>(new CombatSetupEvent([
            "theory",
            "frost",
            "rock",
            "electrify",
            "fire"
        ]));
    }
}